import React from 'react';
import Head from 'next/head';
import { useRouter } from 'next/router';
import GoldMarketReport from '../src/example';

export default function Home() {
  const router = useRouter();
  
  // Using useEffect for client-side redirection is not needed
  // Instead, directly render the GoldMarketReport component
  
  return (
    <>
      <Head>
        <title>黄金市场研报示例 - 基于example.jsx</title>
        <meta name="description" content="基于example.jsx组件的黄金市场研报示例页面" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="icon" href="/favicon.ico" />
      </Head>
      
      <GoldMarketReport />
    </>
  );
}
